package com.kaifamiao.date1102;

class Father {
	static void test() {
		System.out.println("Father.test()");
	}
}

class Child extends Father {
	// This instance method cannot override the static method from Father
	// Cannot override a static method by an instance method
	void test() {
		System.out.println("Child.test()");
		Father.test(); // Call the parent method
	}
}

public class Test {
	public static void main(String[] args) {
		new Child().test();
	}
}
